/**
 * 20080102 1709: Eric Kas was modified.
 */

package util.string;

import com.e885.log.E885Logger;
import com.e885.util.string.StringUtil;

/**
 * 測試 StringUtil.java, method:DigitalPendingZero<br>
 * <br>
 * Copyright: Copyright (c) 2001-2008<br>
 * Company: E885 Group
 * 
 * @author Eric.Kao(gau168.gau@msa.hinet.net)
 * @version 1.0
 */
public class PendingZero
{
	public PendingZero()
	{
		/**
		 * 使用數字做測試
		 */
		String testA = StringUtil.pendingZero( 9999, 5 );
		E885Logger.testLog.debug( "TestA:" + testA );

		/**
		 * 使用字串做測試
		 */
		String testB = StringUtil.pendingZero( "abc", 5 );
		E885Logger.testLog.debug( "TestB:" + testB );

		/**
		 * 使用中文字字串做測試
		 */
		String testC = StringUtil.pendingZero( "王小明", 5 );
		E885Logger.testLog.debug( "TestC:" + testC );
	}

	/**
	 * @param args
	 */
	public static void main( String[] args )
	{
		new PendingZero();
	}

}
